/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：03/01/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.manager.commons;

import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionBindingListener;

import com.application.usertable.entity.Usertable;
import com.application.yfsyslog.service.YfSyslogService;

public class SysLogListener implements HttpSessionBindingListener {
 
    private Usertable user;
    
	private YfSyslogService yfSyslogService;
	
	public YfSyslogService getYfSyslogService() {
		return yfSyslogService;
	}


	public void setYfSyslogService(YfSyslogService yfSyslogService) {
		this.yfSyslogService = yfSyslogService;
	}


	

	public void valueBound(HttpSessionBindingEvent e) {
		 System.out.println(user.getRname() + " ====== " + e.getName());

	}

	 
	public void valueUnbound(HttpSessionBindingEvent e) {
		System.out.println( user.getRname()+ " ^^^^^^ " + e.getName());

	}


	public Usertable getUser() {
		return user;
	}


	public void setUser(Usertable user) {
		this.user = user;
	}

}
